package cn.cs.pojo;

import java.io.Serializable;
import java.util.List;

/***
 *   产品分类表
 */
public class ProductType implements Serializable {
    //id
    private String id;
    //类别代码
    private String typeCode;
    //类别名称
    private String typeName;
    //父级代码
    private String parentCode;
    //父级id
    private String parentId;
    //创建时间
    private String createTime;
    //更新时间
    private String updateTime;
    //产品类型等级
    private String typeLevel;
    //下级分类集合
    private List<ProductType> nextType;

    //get set 方法
    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeCode() {
        return this.typeCode;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return this.typeName;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentCode() {
        return this.parentCode;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return this.parentId;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public String getTypeLevel() {
        return typeLevel;
    }

    public void setTypeLevel(String typeLevel) {
        this.typeLevel = typeLevel;
    }

    public List<ProductType> getNextType() {
        return nextType;
    }

    public void setNextType(List<ProductType> nextType) {
        this.nextType = nextType;
    }
}
